article {
  width: 60vw;
  background-color: white;
  text-align: center;
  margin: 0 auto;
  border-radius: 2vw;
  transform: translateY(-10px);
}

article .announcement {
  width: 100%;
  margin: 0 auto;
  padding:0 1vh;
}

article .announcement p {
  color: rgba(133, 146, 158);
  font-size: 1rem;
}

article .recommend_article {
  width: 100%;
  margin: 0 auto;
  padding-top: 5vh;
  padding-bottom: 2vh;
}

.headline_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2vh;
}

.headline_wrap i {
  margin-right: 1vw;
  font-size: 2rem;
}

.headline_wrap h1 {
  font-size: 2rem;
}

.article_piece {
  width: 100%;
}

.article_piece .big_piece {
  width: 90%;
  height: 25rem;
  margin: 0 auto;
  position: relative;
  /* 增加边框 并防止图片溢出*/
  border-radius: 2vw;
  overflow: hidden;
}

.article_piece .big_piece .photo {
  width: 100%;
  height: 100%;
}

.article_piece .big_piece .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article_piece .mask {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 101, 102, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.article_piece .mask .word {
  color: white;
}

.article_piece .mask .word h1 {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%,0);
}

.article_piece .mask .word h2 {
  position: absolute;
  font-size: 2rem;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.article_piece .mask .word p {
  position: absolute;
  color: rgb(214, 240, 243);
  font-size: 1rem;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.article_piece .mask .word a {
  font-size: 1rem;
  color: white;
  padding: 10px 25px;
  border-radius: 10px;
  border: white 1px solid;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0);
}

/* 清除浮动 */
.article_piece::after {
  content: "";
  display: block;
  clear: both;
}

.article_piece .medium_piece {
  float: left;
  width: 44%;
  height: 25rem;
  margin-top: 2vh;
  position: relative;
  
  /* 增加边框 并防止图片溢出*/
  border-radius: 2vw;
  overflow: hidden;
}

.article_piece .medium_piece:nth-of-type(2) {
  margin-left: 5%;
  margin-right: 1%;
}

.article_piece .medium_piece:nth-of-type(3) {
  margin-left: 1%;
  margin-right: 5%;
}

.article_piece .medium_piece .photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.article_piece .medium_piece .photo img {
   height: 100%;
   width:100%;
   object-fit: cover;
}
.piece {
  transition:  opacity 1.5s linear,transform 0.5s linear;
  opacity: 0;
}
.big_piece:hover{
  transform: scale(1.01);
}
.medium_piece:hover{
  transform:scale(1.01);
}
@media (max-width: 1000px) {
  .article_piece .medium_piece {
    width:90%;
  }
  .article_piece .medium_piece:nth-of-type(2) {
    margin:1% 5%;
  }
  .article_piece .medium_piece:nth-of-type(3) {
    margin:0 5%;
  }
  
  article {
    width: 80vw;
  }
}

